package top.qitun.bizz.cart.cartevent.entity;

import com.base.entity.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;

import java.util.Date;


/**
 * 
 * <br>
 * <b>功能：</b>CartEventEntity<br>
 */
@ApiModel(value="菜单操作事件")
public class CartEvent extends BaseEntity {
	
		private Integer id;//   
	@ApiModelProperty(value = "用户Id", example = "3", required = true)	private Integer clientId;//   用户Id
	@ApiModelProperty(value = "事件类型",allowableValues="1.添加,2.删除", example = "1", required = true)	private Integer cartEventType;//   时间类型1.添加,2删除
	@ApiModelProperty(value = "产品Id", example = "2", required = true)	private Integer productId;//   产品Id
	@ApiModelProperty(value = "数量", example = "1", required = true)	private Integer quantity;//   数量
	@ApiModelProperty(value = "桌号id", example = "2", required = true)
	private Integer tableId;//   桌号id
	@ApiModelProperty(value = "状态,0,已选择,1已下单", example = "0", required = true)
	private Integer status;//   状态,0,已选择,1已下单	private Date createTime;//   	private Date lastUpdateTime;// 	public Integer getId() {	    return this.id;	}	public void setId(Integer id) {	    this.id=id;	}	
	public Integer getClientId() {
		return clientId;
	}
	public void setClientId(Integer clientId) {
		this.clientId = clientId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getCartEventType() {
		return cartEventType;
	}
	public void setCartEventType(Integer cartEventType) {
		this.cartEventType = cartEventType;
	}
	public Integer getProductId() {	    return this.productId;	}	public void setProductId(Integer productId) {	    this.productId=productId;	}	public Integer getQuantity() {	    return this.quantity;	}	public void setQuantity(Integer quantity) {	    this.quantity=quantity;	}	public Date getCreateTime() {	    return this.createTime;	}	public void setCreateTime(Date createTime) {	    this.createTime=createTime;	}	public Date getLastUpdateTime() {	    return this.lastUpdateTime;	}	public void setLastUpdateTime(Date lastUpdateTime) {	    this.lastUpdateTime=lastUpdateTime;	}
	public Integer getTableId() {
		return tableId;
	}
	public void setTableId(Integer tableId) {
		this.tableId = tableId;
	}
}

